//
//  ZLVideoPlayer.h
//  ZLMediaPlayer
//
//  Created by zhangliang on 2017/4/18.
//  Copyright © 2017年 zhangliang. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface ZLVideoPlayerView : UIView

@property (nonatomic, copy) NSString *videoUrl;
@property (nonatomic, copy) NSString *videoTitle;

+ (instancetype)shareInstance;

/**
 *  用于创建单一一个播放器
 */
- (instancetype)initWithFrame:(CGRect)frame URL:(NSURL *)url;


- (void)play;

@end


#define _PlayerView [ZLVideoPlayerView shareInstance]
